﻿@model TCM.Employee

@{
    ViewBag.Title = "Delete";
}
 
<table style="width: 99.9%">
        <tr>
            <td class="IndexBack">
                @Html.ActionLink(" ", "Index")</td>
            <td style="text-align: right">
                <span class="FormTitle">@Html.DisplayFor(model => model.Name)</span></td>
        </tr>
    </table>



<h2>Delete Employee</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Employee</legend>   
    <ol>
    <li class="display-label">
         @Html.DisplayNameFor(model => model.Name)
   
        @Html.DisplayFor(model => model.Name)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.NameAr)
    
        @Html.DisplayFor(model => model.NameAr)
    </li>

   @* <li class="display-label">
         @Html.DisplayNameFor(model => model.NATIONALID)
   
        @Html.DisplayFor(model => model.NATIONALID)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Email1)
 
        @Html.DisplayFor(model => model.Email1)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Email2)
  
        @Html.DisplayFor(model => model.Email2)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Mobile1)
    
        @Html.DisplayFor(model => model.Mobile1)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Mobile2)
    
        @Html.DisplayFor(model => model.Mobile2)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Address)
   
        @Html.DisplayFor(model => model.Address)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.ADDRESSAR)
    
        @Html.DisplayFor(model => model.ADDRESSAR)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Phone)
   
        @Html.DisplayFor(model => model.Phone)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Education)
   
        @Html.DisplayFor(model => model.Education)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.OtherDetails)
    
        @Html.DisplayFor(model => model.OtherDetails)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.USERID)
    
        @Html.DisplayFor(model => model.USERID)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Salary)
 
        @Html.DisplayFor(model => model.Salary)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.Title)
   
        @Html.DisplayFor(model => model.Title)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.StatusID)
   
        @Html.DisplayFor(model => model.StatusID)
    </li>

     <li class="display-label">
         @Html.DisplayNameFor(model => model.DeleteCode)
  
        @Html.DisplayFor(model => model.DeleteCode)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.CreatedBy)
    
        @Html.DisplayFor(model => model.CreatedBy)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.CreatedOn)
   
        @Html.DisplayFor(model => model.CreatedOn)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.ModifiedBy)
    
        @Html.DisplayFor(model => model.ModifiedBy)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.ModifiedOn)
    
        @Html.DisplayFor(model => model.ModifiedOn)
    </li>

    <li class="display-label">
         @Html.DisplayNameFor(model => model.OwnerID)

        @Html.DisplayFor(model => model.OwnerID)
    </li>*@
        </ol>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index")
    </p>
}
